<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<title tal:content="pagedata/title">MicroTal example2</title>
	</head>
	<body>
		<div style="padding:30px;">
			<h1 tal:content="pagedata/title">Untitled document</h1>
			<span tal:define="author string:Pawel Knapik" tal:omit-tag="true" />
			<p tal:content="author">author</p>
			<table>
				<thead>
					<tr>
						<th>feature</th>
						<th>status</th>
					</tr>
				</thead>
				<tbody>
					<tr tal:repeat="feature pagedata/features">

						<td tal:content="feature/name">feature name</td>
						<td tal:content="feature/status">implemented or not</td>
					</tr>
				</tbody>
			</table>
			<p>
				Today is <span tal:replace="pagedata/weekdays[new Date().getDay()]" />,
				you may use JS inside the template to display the date
				<span tal:replace="php:date('Y/m/d')"/>
				<br />
				or predefine the result <span tal:replace="pagedata/today" />
			</p>
			<div tal:condition="pagedata/falsecondition">This should not be rendered</div>
			<div tal:condition="pagedata/truecondition">This should be rendered</div>
			<p tal:attributes="style string:color:red">this should be red</p>
			<a tal:attributes="href pagedata/linkAttributes/href; class pagedata/linkAttributes/classname; style pagedata/linkAttributes/style">more</a>
			<textarea rows="80" cols="20" tal:attributes="rows request/rows;cols request/cols">
			This text area should have 15 collumns and 5 rows
			</textarea>
			<br /><a href="/sample/link.html" tal:attributes="href here/sub/absolute_url">My log </a>
		</div>
	</body>
</html>
